package pattern13.basketball;

/**
 * 抽象的球员类
 * @author wdl
 */
public abstract class BasePlayer {
    protected String name;

    public BasePlayer(String name) {
        this.name = name;
    }

    /**
     * 进攻方法
     */
    public abstract void attach();

    /**
     * 防守方法
     */
    public abstract void defence();
}
